import React, { Component } from 'react'
import RightContainer from "../../../components/RightContainer"
import { PageContainer } from '@ant-design/pro-layout';
import { Switch } from 'antd';
function onChange(checked) {
    console.log(`switch to ${checked}`);
  }
export default class Index extends Component {
    render() {
        return (
            <RightContainer>
                <PageContainer>
                    <div className="nb">
                        <p>总佣金<input type="text" /></p>
                        <p>分销升级审核<Switch defaultChecked onChange={onChange} /></p>
                        <p><button>保存</button></p>
                    </div>
                </PageContainer>
            </RightContainer>
        )
    }
}
